<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <css file="__STATIC__/css/base.css"/>
    </head>
    <body style="padding:10px;">
        <div class="path">
            <strong>您现在的位置：</strong>
            <a href="__APP__/model">查看模型</a>
        </div>
        <div class="send1">
            <a href="__CONTROL__/add_show"  class="current button1">添加模型</a>
        </div>
        <table class="table1">
            <thead>
                <tr>
                    <td width="30">排序</td>
                    <td width="30">mid</td>
                    <td>模型名称</td>
                    <td width="100">主表</td>
                    <td width="100">副表</td>
                    <td width="60">状态</td>
                    <td width="60">系统模型</td>
                    <td width="60">操作</td>
                </tr>
            </thead>
            <tbody>
                <list from="$model" name="$v">
                    <tr>
                        <td>{$v.sort}</td>
                        <td>{$v.mid}</td>
                        <td>{$v.title}</td>
                        <td>{$v.ptable}</td>
                        <td>{$v.stable}</td>
                        <td><if value="$v.state==1">开启<else>关闭</if></td>
                        <td><if value="$v.issystem==1">是<else>否</if></td>
                        <td width="200" style="font-size:12px;">
                            <a href="__CONTROL__/field/mid/{$v.mid}/">字段管理</a> | 
                            <a href="__CONTROL__/edit_show/mid/{$v.mid}">修改</a> | 
                            <a href="__CONTROL__/del/mid/{$v.mid}">删除</a>
                        </td>
                    </tr>
                </list>
            </tbody>  
        </table>

    </body>
</html>
